<div class="portlet-body">
	<table class="table table-striped table-bordered" id="sample_1">
		<thead>
			<tr>
				<th style="width: 8px;"><input type="checkbox"
					class="group-checkable" data-set="#sample_1 .checkboxes" /></th>
				<th>Judul Ujian</th>
				<th class="hidden-phone">Mata Pelajaran</th>
				<th class="hidden-phone">Tanggal</th>
				<th>Detail</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($rows as $row){?>
			<tr class="odd gradeX">
				<td><input type="checkbox" class="checkboxes" value="1" /></td>
				<td><?php echo $row->uj_name;?></td>
				<td class="center hidden-phone"><?php echo $row->mp_name;?></td>
				<td class="center hidden-phone"><?php echo date('d-m-Y', strtotime($row->uj_date));?>
				</td>
				<td><a class="btn mini blue"
					href="<?php echo base_url().'laporan/detail/'.$row->uj_id;?>">Detail</a>
				</td>
			</tr>
			<?php }?>
		</tbody>
	</table>
</div>
